#class Car < ActiveRecord::Base
#end

class Car < ActiveRecord::Base
  has_one :topic_category, :as => :category
end
